package com.ruoyi.channel.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据渠道管理业务对象 t_channel_data_conf
 *
 * @author ruoyi
 * @date 2023-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TChannelDataConfBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 渠道来源
     */
    private String channelSource;

    /**
     * 渠道名称
     */
    //@NotNull(message = "渠道名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelName;

    /**
     * 渠道描述
     */
    //@NotBlank(message = "渠道描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelDescribe;

    /**
     * 是否开启（0、关闭 1、开启）
     */
    //@NotNull(message = "是否开启（0、关闭 1、开启）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isOpen;


    /**
     * 下一次要分配的用户id
     */
    private Long disUserId;

    /**
     * 状态
     */
    //@NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    // 渠道标识
    private String channelIdentity;

    private List<Long> glList = new ArrayList<>();

    private List<TChannelDataStaffBo> ywList = new ArrayList<>();

}
